import {Entity, PrimaryGeneratedColumn, Column, BaseEntity} from 'typeorm';

@Entity()
export class GoodsSKU extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    price: number;

    @Column()
    stock: number;

    @Column()
    lockStock: number;

    @Column()
    attrs: string;

    @Column()
    status: string;
}
